<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="n" uri="neo"%>
<%@ taglib prefix="combo" uri="combo"%>
<%@ taglib prefix="t" uri="template"%>
<%@ taglib prefix="s" uri="sined"%>

<n:form validate="false">
	<n:validation>
		<input type="hidden" name="notFirstTime" value="true"/>
		<table class="outterTable" cellspacing="0" cellpadding="0" align="center">
			<tr class="outterTableHeader">
				<td>
					<span class="outterTableHeaderLeft">
						${s:getdescricaotela()}
					</span>
					<span class="outterTableHeaderRight">
						${listagemTag.invokeLinkArea} 
						<c:if test="${listagemTag.showNewLink || !empty listagemTag.linkArea}">
							<n:link onmouseover="Tip(\"Criar\")" action="criar" id="btn_novo">Novo</n:link>&nbsp;|&nbsp;
						</c:if>
						<c:if test="${listagemTag.showDeleteLink}">
							<n:link url="#" onmouseover="Tip(\"Excluir\")" onclick="javascript:excluirItensSelecionados();" id="btn_excluir">Excluir</n:link><span id="_excluir">&nbsp;|&nbsp;</span>
						</c:if>
						<!--<n:link id="btn_help" url="javascript:$sinedCtx.openHelp('${s:geturl()}')" onmouseover="Tip(\"Help\")">Ajuda</n:link>-->		
					</span>
				</td>
			</tr>
			<tr>
				<td>
					<n:doBody />
				</td>
			</tr>
		</table>
	</n:validation>
</n:form>
<c:if test="${!tag.showDeleteLink}">
	<script>
		$("#btn_excluir").hide();
		$("#_excluir").hide();
	</script>
</c:if>